package entity

import org.joda.time.DateTime

class ServiceRequest implements Entity {
    Integer id
    Client client
    Employee responsible
    DateTime registrationDate
    String origin
    Integer totalSamples
    String shipmentRecord
    Billing billing
    Integer dispositionMethod
    List samples = new ArrayList()
    
    String toString() {
        "SA ${id.toString().padLeft(5,'0')}"
    }
    
    public static final String PERSONAL_SHIPMENT = "Personal"
    public static final String MESSENGER_SHIPMENT = "Mensajero"
}

